/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gp.vlc.rp.net;

import java.net.URI;
import org.apache.http.auth.UsernamePasswordCredentials;

/**
 *
 * @author Namo
 */
public class ReverseProxyConfiguration {
    private URI _uri;
    private String _proxyHost;
    private int _proxyPort;
    private UsernamePasswordCredentials _proxyCredentials;
    private UsernamePasswordCredentials _credentials;

    public ReverseProxyConfiguration(URI uri) {
        _uri = uri;
        _proxyHost = null;
        _proxyPort = -1;
        _proxyCredentials = null;
        _credentials = null;
    }

    public URI getURI(){
        return _uri;
    }
    
    public String getProxyHost() {
        return _proxyHost;
    }

    public void setProxyHost(String proxyHost) {
        _proxyHost = proxyHost;
    }

    public int getProxyPort() {
        return _proxyPort;
    }

    public void setProxyPort(int proxyPort) {
        _proxyPort = proxyPort;
    }

    public UsernamePasswordCredentials getProxyCredentials() {
        return _proxyCredentials;
    }

    public void setProxyCredentials(UsernamePasswordCredentials proxyCredentials) {
        _proxyCredentials = proxyCredentials;
    }

    public UsernamePasswordCredentials getCredentials() {
        return _credentials;
    }

    public void setCredentials(UsernamePasswordCredentials credentials) {
        _credentials = credentials;
    }
}
